package com.oocl.mock.pojo;

import java.util.Arrays;
import java.util.Date;

public class Customer {
	private Integer id;
	private String name;
	private double salary;
	private boolean sex;
	private Date birthDate;
	private String[] hobby;
	
	public Customer() {
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getSalary() {
		return salary;
	}
	public void setSalary(double salary) {
		this.salary = salary;
	}
	public boolean isSex() {
		return sex;
	}
	public void setSex(boolean sex) {
		this.sex = sex;
	}
	public Date getBirthDate() {
		return birthDate;
	}
	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}
	public String[] getHobby() {
		return hobby;
	}
	public void setHobby(String[] hobby) {
		this.hobby = hobby;
	}
	public Customer(Integer id, String name, double salary, boolean sex,
			Date birthDate, String[] hobby) {
		super();
		this.id = id;
		this.name = name;
		this.salary = salary;
		this.sex = sex;
		this.birthDate = birthDate;
		this.hobby = hobby;
	}
	@Override
	public String toString() {
		return "Customer [id=" + id + ", name=" + name + ", salary=" + salary
				+ ", sex=" + sex + ", birthDate=" + birthDate + ", hobby="
				+ Arrays.toString(hobby) + "]";
	}
	
	
}
